package com.ccp.dev.qbdms.model;

import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.Record;

import java.util.Date;

/**
 * DPA表 w_qbd_dpa_info
 *
 * @author zzy
 * @date 2020-07-06 09:12:57
 */
@ImpAnnotation(description = "DPA信息")
@ExpAnnotation(description = "DPA信息")
@FlowSubject(subjectName = "DPA信息")
public class WQbdDpaInfo extends BaseBusinessModel<WQbdDpaInfo> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 元器件名称
     */
    @Record("元器件名称")
    @ExpAnnotation(description = "元器件名称")
    @ImpAnnotation(description = "元器件名称", isRequired = true)
    private String componentsName;
    /**
     * DPA分析报告编号
     */
    @Record("DPA分析报告编号")
    @ExpAnnotation(description = "DPA分析报告编号")
    @ImpAnnotation(description = "DPA分析报告编号", isRequired = true)
    private String dpaAnalysisReportNo;
    /**
     * DPA分析时间
     */
    @Record("DPA分析时间")
    @ExpAnnotation(description = "DPA分析时间")
    @ImpAnnotation(description = "DPA分析时间", isRequired = true)
    private Date dpaAnalysisTime;
    /**
     * 元器件型号规格
     */
    @Record("元器件型号规格")
    @ExpAnnotation(description = "元器件型号规格")
    @ImpAnnotation(description = "元器件型号规格", isRequired = true)
    private String componentModelSpec;
    /**
     * 元器件生产批号
     */
    @Record("元器件生产批号")
    @ExpAnnotation(description = "元器件生产批号")
    @ImpAnnotation(description = "元器件生产批号", isRequired = true)
    private String componentProductionNo;
    /**
     * 生产单位
     */
    @Record("生产单位")
    @ExpAnnotation(description = "生产单位")
    @ImpAnnotation(description = "生产单位", isRequired = true)
    private String productionUnit;
    /**
     * 质量等级
     */
    @Record("质量等级")
    @ExpAnnotation(description = "质量等级")
    @ImpAnnotation(description = "质量等级", isRequired = true,dicKey = "dpazldj")
    private String qualityLevel;
    /**
     * 委托单位
     */
    @Record("委托单位")
    @ExpAnnotation(description = "委托单位")
    @ImpAnnotation(description = "委托单位", isRequired = true)
    private String requester;
    /**
     * DPA试验单位
     */
    @Record("DPA试验单位")
    @ExpAnnotation(description = "DPA试验单位")
    @ImpAnnotation(description = "DPA试验单位", isRequired = true)
    private String dpaTestUnit;
    /**
     * 执行标准
     */
    @Record("执行标准")
    @ExpAnnotation(description = "执行标准")
    @ImpAnnotation(description = "执行标准", isRequired = true)
    private String execuStandard;
    /**
     * 实际抽样数量
     */
    @Record("实际抽样数量")
    @ExpAnnotation(description = "实际抽样数量")
    @ImpAnnotation(description = "实际抽样数量", isRequired = true)
    private String actualNumOfSamples;
    /**
     * DPA试验结论
     */
    @Record("DPA试验结论")
    @ExpAnnotation(description = "DPA试验结论")
    @ImpAnnotation(description = "DPA试验结论", isRequired = true ,dicKey = "dpasyjl")
    private String dpaTestConclusion;
    /**
     * 不合格项目
     */
    @Record("不合格项目")
    @ExpAnnotation(description = "不合格项目")
    @ImpAnnotation(description = "不合格项目", isRequired = true)
    private String unqualifiedItems;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getComponentsName() {
        return componentsName;
    }

    public void setComponentsName(String componentsName) {
        this.componentsName = componentsName;
    }

    public String getDpaAnalysisReportNo() {
        return dpaAnalysisReportNo;
    }

    public void setDpaAnalysisReportNo(String dpaAnalysisReportNo) {
        this.dpaAnalysisReportNo = dpaAnalysisReportNo;
    }

    public Date getDpaAnalysisTime() {
        return dpaAnalysisTime;
    }

    public void setDpaAnalysisTime(Date dpaAnalysisTime) {
        this.dpaAnalysisTime = dpaAnalysisTime;
    }

    public String getComponentModelSpec() {
        return componentModelSpec;
    }

    public void setComponentModelSpec(String componentModelSpec) {
        this.componentModelSpec = componentModelSpec;
    }

    public String getComponentProductionNo() {
        return componentProductionNo;
    }

    public void setComponentProductionNo(String componentProductionNo) {
        this.componentProductionNo = componentProductionNo;
    }

    public String getProductionUnit() {
        return productionUnit;
    }

    public void setProductionUnit(String productionUnit) {
        this.productionUnit = productionUnit;
    }

    public String getQualityLevel() {
        return qualityLevel;
    }

    public void setQualityLevel(String qualityLevel) {
        this.qualityLevel = qualityLevel;
    }

    public String getRequester() {
        return requester;
    }

    public void setRequester(String requester) {
        this.requester = requester;
    }

    public String getDpaTestUnit() {
        return dpaTestUnit;
    }

    public void setDpaTestUnit(String dpaTestUnit) {
        this.dpaTestUnit = dpaTestUnit;
    }

    public String getExecuStandard() {
        return execuStandard;
    }

    public void setExecuStandard(String execuStandard) {
        this.execuStandard = execuStandard;
    }

    public String getActualNumOfSamples() {
        return actualNumOfSamples;
    }

    public void setActualNumOfSamples(String actualNumOfSamples) {
        this.actualNumOfSamples = actualNumOfSamples;
    }

    public String getDpaTestConclusion() {
        return dpaTestConclusion;
    }

    public void setDpaTestConclusion(String dpaTestConclusion) {
        this.dpaTestConclusion = dpaTestConclusion;
    }

    public String getUnqualifiedItems() {
        return unqualifiedItems;
    }

    public void setUnqualifiedItems(String unqualifiedItems) {
        this.unqualifiedItems = unqualifiedItems;
    }

    @Override
    public String toString() {
        return "WQbdDpaInfo{" +
                "id='" + id + '\'' +
                ", componentsName='" + componentsName + '\'' +
                ", dpaAnalysisReportNo='" + dpaAnalysisReportNo + '\'' +
                ", dpaAnalysisTime=" + dpaAnalysisTime +
                ", componentModelSpec='" + componentModelSpec + '\'' +
                ", componentProductionNo='" + componentProductionNo + '\'' +
                ", productionUnit='" + productionUnit + '\'' +
                ", qualityLevel='" + qualityLevel + '\'' +
                ", requester='" + requester + '\'' +
                ", dpaTestUnit='" + dpaTestUnit + '\'' +
                ", execuStandard='" + execuStandard + '\'' +
                ", actualNumOfSamples='" + actualNumOfSamples + '\'' +
                ", dpaTestConclusion='" + dpaTestConclusion + '\'' +
                ", unqualifiedItems='" + unqualifiedItems + '\'' +
                '}';
    }
}